#ifndef BERIZERSURFACE
#define BEZIERSURFACE

#include <base\vec3f.h>

#include <vector>

using namespace std;

class bezierSurface {

  vec3f control_points[4][4];
  vec3f **bezier_points;
  int surface_resolution;

public:

  void addControlPoint(int x, int y, vec3f point);
  vec3f getControlPoint(int x, int y);
  void clearSurfaceNoDelete();

  void computeSurface(int resolution);
  vec3f **getBezierPoints();

  bezierSurface();
};

#endif